const apiContextPath = '/liliapi'
const publicPath = '/liliadmin'

module.exports = {
  publicPath: publicPath,
  apiContextPath: apiContextPath,
  appKey: '12345678901234567890',
  macKey: 'MAC_ADDR',
  /**
   * token在Cookie中存储的天数，默认1天
   */
  cookieExpires: 1,
  imgUrl: 'http:// 47.111.87.156:9090',
  uploaderUrl: apiContextPath + '/sys/attachment/upload',
  mode: {
    ADD: 'add',
    EDIT: 'edit',
  },
  currentShow: {
    LIST: 'list',
    EDIT: 'edit'
  },
  portalType: {
    OPT: 1 //  运营门户
  },
  userType: {
    DEFAULT: 0,
    MEMBER: 1,
    TECHNICIAN: 2
  },
  locationType: {
    COUNTRY: 0,
    PROVINCE: 1,
    CITY: 2,
    DISTRICT: 3,
    TOWN: 4,
    VILLAGE: 5
  },
  classifyGrade: {
    ROOT: 0,
    ONE: 1,
    TWO: 2,
    THREE: 3
  },
  /**
   * 默认打开的首页的路由name值
   */
  homeName: '/'
}
